package sg.edu.nus.iss.cats.dataaccess.hibernate;


import sg.edu.nus.iss.cats.dataaccess.CourseDAO;
import sg.edu.nus.iss.cats.dataaccess.DAOFactory;
import sg.edu.nus.iss.cats.dataaccess.DepartmentDAO;
import sg.edu.nus.iss.cats.dataaccess.EmployeeDAO;
import sg.edu.nus.iss.cats.dataaccess.SequenceManager;
import sg.edu.nus.iss.cats.dataaccess.UserDAO;

import sg.edu.nus.iss.cats.dataaccess.hibernate.EmployeeDAOImpl;
import sg.edu.nus.iss.cats.dataaccess.hibernate.CourseDAOImpl;
import sg.edu.nus.iss.cats.dataaccess.hibernate.SequenceManagerImpl;
import sg.edu.nus.iss.cats.dataaccess.hibernate.DepartmentDAOImpl; 

public class DAOFactoryImpl extends DAOFactory {
	private UserDAO userDAO = new UserDAOImpl();
	
	private EmployeeDAO employeeDAO = new EmployeeDAOImpl ();
    private CourseDAO appDAO = new CourseDAOImpl ();
    private SequenceManager seqMgr = new SequenceManagerImpl ();
    private DepartmentDAO departmentDAO = new DepartmentDAOImpl (); 
    


	public UserDAO getUserDAO () {
        return userDAO;
    }
    

    public EmployeeDAO getEmployeeDAO () {
        return employeeDAO;
    	
    }
    

    public CourseDAO getCourseDAO () {
        return appDAO;
    	
    }


    public SequenceManager getSequenceManager () {
        return seqMgr;
    	
    }
    
    
    public DepartmentDAO getDepartmentDAO () {
        return departmentDAO;
    	
    }
    
    

}